package com.tocea.formation.users;

import java.util.List;

import com.thoughtworks.xstream.XStream;

public class UserDAO {

	private List<IUser> users;
	XStream stream = new XStream();

	
	public UserDAO(List<IUser> utilisateurs){
		this.users = utilisateurs;
		stream.alias("Users", IUser.class);
	}
	
	public void save(){
		String xml = stream.toXML(users);
		
	}
	public IUser get(){
		
	}
	public List<IUser> getAll(){
		
	}
}
